<?php
require('config.php');
global $smarty;

$at = $_GET["at"] = 1;
if (session_name('UID') != 1) {
	if ($at) {
		$url = "register/site.tpl";
	} else {
		$url = "register/user.tpl";
	}
	$smarty->display($url);
}
?>